package service;

import dao.DormscoresDao;
import entity.Dorm_scores;

import java.sql.SQLException;
import java.util.List;

public interface DormscoresService {
    //查询
    List<Dorm_scores> cxj(Integer lid, int page, int pageSize) throws SQLException, ClassNotFoundException;
    //删除
    int scj(int id) throws SQLException, ClassNotFoundException;
    //修改
    int xgj(int score_id,int room_id,String check_date,int hygiene_score,int discipline_score,String inspector) throws SQLException, ClassNotFoundException;

    int cx1(String room_number) throws SQLException, ClassNotFoundException;

    //新增
    int tjj(int room_id,String check_date,int hygiene_score,int discipline_score,String inspector) throws SQLException, ClassNotFoundException;
}
